package com.example.service;

import com.example.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ycf
 */
@Service
public interface UserService {

    User getUserById(@Param("id") int id) ;

    List<User> getUserList() ;

    int addUser(User user);

    User getUserByUsername(String username);

    List<User> getUserLikeUsername(String username);

    String getQQByUsername(String username);

}

